package org.example.computerdesign.common.enums;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * @author 朱文权
 */
@Getter
public enum MailTemplate {
    //邮件模板
    TITLE1("【您的验证码】")
    ;
    @JsonValue
    private final String template;

    @JsonCreator
    MailTemplate(String template) {
        this.template = template;
    }
}
